import Request from './request'

export default {
    login: (data: { code: string; account: string; pwd: string }) => {
        return Request({
            url: '/user/login',
            method: 'POST',
            data: { code: data.code, account: data.account, pwd: data.pwd }
        })
    }
}
